import { defineStore } from 'pinia'

export const downloadStore = defineStore('download', {
  state: () => {
    return {
      modal: false,
      modalList: false
    }
  },
  actions: {
    show() {
      this.modal = true
    },
    hide() {
      this.modal = false
    },
    showList() {
      this.modalList = true
    },
    hideList() {
      this.modalList = false
    }
  }
})
